package com.wangjiyuan.giftshuo.ui.fragment.home;

import com.wangjiyuan.giftshuo.bean.search.HotBean;
import com.wangjiyuan.giftshuo.http.HttpInterfaces;
import com.wangjiyuan.giftshuo.http.HttpUtils;

import rx.Observable;

/**
 * Created by wjy on 2016/11/16.
 */

public class NavModel implements NavContract.NavModel {

    @Override
    public Observable<HotBean> getSearchHot() {

        HttpUtils instance = HttpUtils.getInstance();
        HttpInterfaces httpInterfaces = instance.getHttpInterfaces();
        return httpInterfaces.getHotBean();
    }
}
